﻿using Ekton_Manage_DomainCore.Aggregate;
using Ekton_Manage_DTO.RequestModels.Material;
using Ekton_Manage_DTO.RequestModels.User;
using Ekton_Manage_DTO.RequestModels.UserControl;
using Ekton_Manage_InfrastructureCore.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_IBusiness
{
    public interface IUserBusiness
    {
        Task<sys_user> CheckLogin(string userName, string passWord);
        Task<user_list> APICheckLogin(string userName, string passWord);
        Task<Tuple<List<user_list>, int>> GetUserList(QueryDataParame query);

        Task<Message> PutUserState(int userId);
        Task<Message> PutUserPwd(int UserId);
        Task<Message> InsertUserInfo(DtoUserControl request);
        Task<Message> PutUserInfo(DtoUserControl request);

        //删除用户信息
        Task<Message> DeleteUserInfo(int userId);

        //后台用户忘记密码
        Task<Message> PostUserPwd(DtoUserPwd request);

    }
}
